package com.gsafety.wellsfort.domain.model.pushRecord;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 描述:push_info_record表的实体类
 * @version
 * @author:  wuming
 * @创建时间: 2020-05-20
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "我的消息列表")
public class PushInfoRecord {
    /**
     * 
     */
    private Integer id;

    /**
     * 推送标题
     */
    @ApiModelProperty(value = "推送标题")
    private String title;

    /**
     * 
     */
    private String ext1;

    private String ext2;

    private String ext3;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date created;

    @ApiModelProperty(value = "推送内容")
    private String message;

    private Integer userIds;

    /**
     * 
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 推送标题
     * @return title 推送标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 推送标题
     * @param title 推送标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 
     * @return ext1 
     */
    public String getExt1() {
        return ext1;
    }

    /**
     * 
     * @param ext1 
     */
    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    /**
     * 创建时间
     * @return created 创建时间
     */
    public Date getCreated() {
        return created;
    }

    /**
     * 创建时间
     * @param created 创建时间
     */
    public void setCreated(Date created) {
        this.created = created;
    }


}